<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>登陆</title>
<style type="text/css">
*{
padding: 0;
margin: 0
}
form {
	text-align: center;
}
input {
	margin: 20px;
	border-radius:10px;
	padding: 10px;
}
</style>
</head>

<body>
	<form action="<%=path%>/userLogin.do" method="post">
		账号：<input type="text" name="name"><br> 
		密码：<input type="password"name="pass"><br>
		<input type="submit" value="登陆">
	</form>
</body>
</html>
